package com.oyc.demo.domain;


import javax.validation.constraints.NotNull;

import org.apache.poi.ss.usermodel.BorderStyle;
import org.apache.poi.ss.usermodel.HorizontalAlignment;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.oyc.demo.easyexcel.OKNO;
import com.oyc.demo.easyexcel.TestResult;

import io.swagger.annotations.ApiModel;

/**
 * (Cablebasic)实体类
 *
 * @author 杜学森
 * @since 2021-01-20 18:51:28
 */
@ApiModel
@ContentRowHeight(15)
@HeadRowHeight(20)
@ColumnWidth(25)
@HeadFontStyle(fontHeightInPoints = 10)
@ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER,wrapped=true,borderLeft= BorderStyle.THIN,borderRight=BorderStyle.THIN,borderTop=BorderStyle.THIN,borderBottom=BorderStyle.THIN)
public class Cablebasic extends BaseEntity{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@HeadStyle(fillForegroundColor = 41)
	@ExcelProperty(value = {"序号","序号"} ,index = 0)
    private Integer rownum;

	@HeadStyle(fillForegroundColor = 41)
	@ExcelProperty(value = {"省公司简称","省公司简称"}, index = 1)
	@NotNull(message = "应该填写数据")
	private String provincecompanyname;

	@HeadStyle(fillForegroundColor = 41)
	@ExcelProperty(value = {"地市公司简称","地市公司简称"}, index = 2)
    private String citycompanyname;

	@HeadStyle(fillForegroundColor = 41)
	@ExcelProperty(value = {"仓库名称","仓库名称"}, index = 3)
    private String warehousename;

	@HeadStyle(fillForegroundColor = 41)
	@ExcelProperty(value = {"供应商全称","供应商全称"}, index = 4)
    private String suppliername;

	@HeadStyle(fillForegroundColor = 41)
	@ExcelProperty(value = {"供应商编码","供应商编码"}, index = 5)
    private String suppliercode;

	@HeadStyle(fillForegroundColor = 41)
	@ExcelProperty(value = {"物料名称（架空绝缘导线/电力电缆/低压电力电缆）","物料名称（架空绝缘导线/电力电缆/低压电力电缆）"}, index = 6)
    private String goodsname;

	@HeadStyle(fillForegroundColor = 41)
	@ExcelProperty(value = {"物料描述","物料描述"}, index = 7)
    private String goodsdescribe;

	@HeadStyle(fillForegroundColor = 41)
	@ExcelProperty(value = {"物料编码","物料编码"}, index = 8)
    private String goodscode;

	@HeadStyle(fillForegroundColor = 41)
	@ExcelProperty(value = {"采购订单号","采购订单号"}, index = 9)
	@NotNull(message = "应该填写数据")
    private String ordernumber;

	@HeadStyle(fillForegroundColor = 41)
	@ExcelProperty(value = {"盘号","盘号"}, index = 10)
	@NotNull(message = "应该填写数据")
    private String reelnumber;

	@HeadStyle(fillForegroundColor = 41)
	@ExcelProperty(value = {"入库日期","入库日期"}, index = 11)
    private String enterdate;

	@HeadStyle(fillForegroundColor = 26)
	@ExcelProperty(value = {"预筛检","设定波速（m/us）"},index = 12)
    private String filterwavevelocity;

	@HeadStyle(fillForegroundColor = 26)
	@ExcelProperty(value = {"预筛检","米标长度（km）"},index = 13)
    private String filtermeterlength;
	
	@HeadStyle(fillForegroundColor = 26)
	@ExcelProperty(value = {"预筛检","检测时环境温度（℃）"},index = 14)
	private String filtertemperature;

	@HeadStyle(fillForegroundColor = 26)
	@ExcelProperty(value = {"预筛检","实测长度（km）"}, index = 15)
    private String filteractuallength;

	@HeadStyle(fillForegroundColor = 26)
	@ExcelProperty(value = {"预筛检","直流电阻要求值（Ω/km）"}, index = 16)
    private String filterdirectresistorask;

	@HeadStyle(fillForegroundColor = 26)
	@ExcelProperty(value = {"预筛检","直流电阻实测值（Ω/km）"}, index = 17)
    private String filterdirectresistoractual;

	@HeadStyle(fillForegroundColor = 26)
	@ExcelProperty(value = {"预筛检","实测截面积（mm2）"}, index = 18)
    private String filteractualcrossarea;

	@HeadStyle(fillForegroundColor = 26)
	@ExcelProperty(value = {"预筛检","检测日期"},index = 19)
    private String filtertestdate;

	@HeadStyle(fillForegroundColor = 26)
	@ExcelProperty(value = {"预筛检","检测结果"},index = 20)
	@OKNO
    private String filtertestresult;

	@HeadStyle(fillForegroundColor = 46)
	@ExcelProperty(value = {"端头检测","样品编号"},index = 21)
    private String tipsamplenumber;

	@HeadStyle(fillForegroundColor = 46)
	@ExcelProperty(value = {"端头检测","直流电阻实测值（Ω/km）"},index = 22)
    private String tipdirectresistoractual;

	@HeadStyle(fillForegroundColor = 46)
	@ExcelProperty(value = {"端头检测","检测日期"},index =23)
    private String tiptestdate;

	@HeadStyle(fillForegroundColor = 46)
	@ExcelProperty(value = {"端头检测","检测结果"}, index = 24)
	@OKNO
    private String tiptestresult;

	@HeadStyle(fillForegroundColor = 46)
	@ExcelProperty(value = {"端头检测","检测报告编号"} ,index = 25)
    private String tiptestreportnumber;

	@HeadStyle(fillForegroundColor = 46)
	@ExcelProperty(value = {"端头检测","检测单位名称"} ,index = 26)
    private String tiptestunitname;

	@HeadStyle(fillForegroundColor = 35)
	@ExcelProperty(value = {"中间段检测","样品编号"} ,index = 27)
    private String intersamplenumber;

	@HeadStyle(fillForegroundColor = 35)
	@ExcelProperty(value = {"中间段检测","直流电阻实测值（Ω/km）"},index = 28)
    private String interdirectresistoractual;

	@HeadStyle(fillForegroundColor = 35)
	@ExcelProperty(value = {"中间段检测","检测日期"} ,index = 29)
    private String intertestdate;

	@HeadStyle(fillForegroundColor = 35)
	@ExcelProperty(value = {"中间段检测","检测结果"},index = 30)
	@OKNO
    private String intertestresult;

	@HeadStyle(fillForegroundColor = 35)
	@ExcelProperty(value = {"中间段检测","检测报告编号"} ,index = 31)
    private String intertestreportnumber;

	@HeadStyle(fillForegroundColor = 35)
	@ExcelProperty(value = {"中间段检测","检测单位名称"} ,index = 32)
    private String intertestunitname;

	@HeadStyle(fillForegroundColor = 51)
	@ExcelProperty(value = {"结论","结论"}, index = 33)
	@TestResult
    private String testresult;

	@HeadStyle(fillForegroundColor = 51)
	@ExcelProperty(value = {"异议处理","异议处理"}, index =34)
    private String objectionhanding;

	@HeadStyle(fillForegroundColor = 51)
	@ExcelProperty(value = {"备注","备注"}, index = 35)
    private String remark;
	@ExcelIgnore
    private  String createtime;
	@ExcelIgnore
	private String updatetime;
	@ExcelIgnore
    private String id;
	@ExcelIgnore
    private String filename;
	@ExcelIgnore
	private String tablename;

	public String getTablename() {
		return tablename;
	}

	public void setTablename(String tablename) {
		this.tablename = tablename;
	}
	
	public String getFilename() {
		return filename;
	}
	
	public void setFilename(String filename) {
		this.filename = filename;
	}
    
    public String getId() {
		return id;
	}
    
    public void setId(String id) {
		this.id = id;
	}

	public String getProvincecompanyname() {
		return provincecompanyname;
	}

	public void setProvincecompanyname(String provincecompanyname) {
		this.provincecompanyname = provincecompanyname;
	}

	public String getCitycompanyname() {
		return citycompanyname;
	}

	public void setCitycompanyname(String citycompanyname) {
		this.citycompanyname = citycompanyname;
	}

	public String getWarehousename() {
		return warehousename;
	}

	public void setWarehousename(String warehousename) {
		this.warehousename = warehousename;
	}

	public String getSuppliername() {
		return suppliername;
	}

	public void setSuppliername(String suppliername) {
		this.suppliername = suppliername;
	}

	public String getSuppliercode() {
		return suppliercode;
	}

	public void setSuppliercode(String suppliercode) {
		this.suppliercode = suppliercode;
	}

	public String getGoodsname() {
		return goodsname;
	}

	public void setGoodsname(String goodsname) {
		this.goodsname = goodsname;
	}

	public String getGoodsdescribe() {
		return goodsdescribe;
	}

	public void setGoodsdescribe(String goodsdescribe) {
		this.goodsdescribe = goodsdescribe;
	}

	public String getGoodscode() {
		return goodscode;
	}

	public void setGoodscode(String goodscode) {
		this.goodscode = goodscode;
	}

	public String getOrdernumber() {
		return ordernumber;
	}

	public void setOrdernumber(String ordernumber) {
		this.ordernumber = ordernumber;
	}

	public String getReelnumber() {
		return reelnumber;
	}

	public void setReelnumber(String reelnumber) {
		this.reelnumber = reelnumber;
	}


	public String getFilterwavevelocity() {
		return filterwavevelocity;
	}

	public void setFilterwavevelocity(String filterwavevelocity) {
		this.filterwavevelocity = filterwavevelocity;
	}

	public String getFiltermeterlength() {
		return filtermeterlength;
	}

	public void setFiltermeterlength(String filtermeterlength) {
		this.filtermeterlength = filtermeterlength;
	}

	public String getFilteractuallength() {
		return filteractuallength;
	}

	public void setFilteractuallength(String filteractuallength) {
		this.filteractuallength = filteractuallength;
	}

	public String getFilterdirectresistorask() {
		return filterdirectresistorask;
	}

	public void setFilterdirectresistorask(String filterdirectresistorask) {
		this.filterdirectresistorask = filterdirectresistorask;
	}

	public String getFilterdirectresistoractual() {
		return filterdirectresistoractual;
	}

	public void setFilterdirectresistoractual(String filterdirectresistoractual) {
		this.filterdirectresistoractual = filterdirectresistoractual;
	}

	public String getFilteractualcrossarea() {
		return filteractualcrossarea;
	}

	public void setFilteractualcrossarea(String filteractualcrossarea) {
		this.filteractualcrossarea = filteractualcrossarea;
	}


	public String getFiltertestresult() {
		return filtertestresult;
	}

	public void setFiltertestresult(String filtertestresult) {
		this.filtertestresult = filtertestresult;
	}

	public String getTipsamplenumber() {
		return tipsamplenumber;
	}

	public void setTipsamplenumber(String tipsamplenumber) {
		this.tipsamplenumber = tipsamplenumber;
	}

	public String getTipdirectresistoractual() {
		return tipdirectresistoractual;
	}

	public void setTipdirectresistoractual(String tipdirectresistoractual) {
		this.tipdirectresistoractual = tipdirectresistoractual;
	}


	public String getTiptestresult() {
		return tiptestresult;
	}

	public void setTiptestresult(String tiptestresult) {
		this.tiptestresult = tiptestresult;
	}

	public String getTiptestreportnumber() {
		return tiptestreportnumber;
	}

	public void setTiptestreportnumber(String tiptestreportnumber) {
		this.tiptestreportnumber = tiptestreportnumber;
	}

	public String getTiptestunitname() {
		return tiptestunitname;
	}

	public void setTiptestunitname(String tiptestunitname) {
		this.tiptestunitname = tiptestunitname;
	}

	public String getIntersamplenumber() {
		return intersamplenumber;
	}

	public void setIntersamplenumber(String intersamplenumber) {
		this.intersamplenumber = intersamplenumber;
	}

	public String getInterdirectresistoractual() {
		return interdirectresistoractual;
	}

	public void setInterdirectresistoractual(String interdirectresistoractual) {
		this.interdirectresistoractual = interdirectresistoractual;
	}

	public String getIntertestresult() {
		return intertestresult;
	}

	public void setIntertestresult(String intertestresult) {
		this.intertestresult = intertestresult;
	}

	public String getIntertestreportnumber() {
		return intertestreportnumber;
	}

	public void setIntertestreportnumber(String intertestreportnumber) {
		this.intertestreportnumber = intertestreportnumber;
	}

	public String getIntertestunitname() {
		return intertestunitname;
	}

	public void setIntertestunitname(String intertestunitname) {
		this.intertestunitname = intertestunitname;
	}

	public String getTestresult() {
		return testresult;
	}

	public void setTestresult(String testresult) {
		this.testresult = testresult;
	}

	public String getObjectionhanding() {
		return objectionhanding;
	}

	public void setObjectionhanding(String objectionhanding) {
		this.objectionhanding = objectionhanding;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getCreatetime() {
		return createtime;
	}

	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}

	public String getUpdatetime() {
		return updatetime;
	}

	public void setUpdatetime(String updatetime) {
		this.updatetime = updatetime;
	}

	public String getEnterdate() {
		return enterdate;
	}

	public void setEnterdate(String enterdate) {
		this.enterdate = enterdate;
	}

	public String getFiltertestdate() {
		return filtertestdate;
	}

	public void setFiltertestdate(String filtertestdate) {
		this.filtertestdate = filtertestdate;
	}

	public String getTiptestdate() {
		return tiptestdate;
	}

	public void setTiptestdate(String tiptestdate) {
		this.tiptestdate = tiptestdate;
	}

	public String getIntertestdate() {
		return intertestdate;
	}

	public void setIntertestdate(String intertestdate) {
		this.intertestdate = intertestdate;
	}
	
	public Integer getRownum() {
		return rownum;
	}
	public void setRownum(Integer rownum) {
		this.rownum = rownum;
	}
	
    public String getFiltertemperature() {
		return filtertemperature;
	}
    
    public void setFiltertemperature(String filtertemperature) {
		this.filtertemperature = filtertemperature;
	}
    
}